(.venv) ➜  MazaiFlask helm template flask_chart
Error: template: flask_chart/templates/tests/test-connection.yaml:14:63: executing "flask_chart/templates/tests/test-connection.yaml" at <.Values.service.port>: nil pointer evaluating interface {}.port

Use --debug flag to render out invalid YAML
(.venv) ➜  MazaiFlask helm template flask_chart
---
# Source: flask_chart/templates/services.yaml
apiVersion: v1
kind: Service
metadata:
  labels:
    app: app
  name: app
spec:
  ports:
  - port: 5003
    protocol: TCP
    targetPort: 5003
  selector:
    app: app
  type: ClusterIP
---
# Source: flask_chart/templates/deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
  name: app
  labels:
    app: app
spec:
  replicas: 1
  selector:
    matchLabels:
      app:  app
  template:
    metadata:
      labels:
        app:  app
    spec:
      containers:
        - name: app
          image: maksimmazay/python_flask_test_v4:latest
          ports:
            - name: http
              containerPort: 5003
              protocol: TCP
          resources:
          limits:
            cpu: 200m
            memory: 200Mi
            requests:
              cpu: 100m
              memory: 100Mi
---
# Source: flask_chart/templates/ingress.yaml
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: app
  annotations:
    nginx.ingress.kubernetes.io/rewrite-target: /
spec:
  rules:
    - host: flask2.1267223-cc42012.tw1.ru
      http:
        paths:
          - path: /
            pathType: Prefix
            backend:
              service:
                name: app
                port:
                  number: 5003
---
# Source: flask_chart/templates/tests/test-connection.yaml
apiVersion: v1
kind: Pod
metadata:
  name: "release-name-flask_chart-test-connection"
  labels:
    helm.sh/chart: flask_chart-0.1.0
    app.kubernetes.io/name: flask_chart
    app.kubernetes.io/instance: release-name
    app.kubernetes.io/version: "1.16.0"
    app.kubernetes.io/managed-by: Helm
  annotations:
    "helm.sh/hook": test
spec:
  containers:
    - name: wget
      image: busybox
      command: ['wget']
      args: ['release-name-flask_chart:80']
  restartPolicy: Never
(.venv) ➜  MazaiFlask

